# -*- mode: snippet -*-
# name: glm, poisson regression
# key: glm.poisson.regression@stats
# contributor : Shuguang Sun
# --
$0 <- glm(
  formula = $2,
  family = poisson(link = "log"),
  ## offset =,
  data = $1
)
